# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="luvcview is a program to watch streams from uvc webcams"
IUSE=""
DEPEND="media-libs/libsdl"
SLOT="0"
KEYWORDS="~x86 ~amd64"
HOMEPAGE="http://mxhaard.free.fr/download.html"
SRC_URI="http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-${PV}.tar.gz"
LICENSE="GPL-2"

src_compile() {
	make luvcview || die "Error: The compilation failed. Please report back the the uvc mailinglist linux-uvc-devel@lists.berlios.de\!"
}

src_install() {
	mkdir "${D}/usr"
	mkdir "${D}/usr/bin"
	cp "${S}/luvcview" "${D}/usr/bin"
}
